body {
  margin: 0;
  padding: 0;
  background: linear-gradient(to bottom, #ffeef3, #fff0f5);
  font-family: 'Helvetica Neue', sans-serif;
  text-align: center;
  color: #444;
}

.container {
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.title {
  font-size: 30px;
  font-weight: bold;
  color: #e91e63;
}

.subtitle {
  margin-top: 12px;
  font-size: 18px;
  color: #888;
}

.heart-button {
  margin-top: 40px;
  font-size: 22px;
  background: none;
  border: none;
  cursor: pointer;
  animation: pulse 1s infinite alternate;
}

@keyframes pulse {
  from { transform: scale(1); }
  to { transform: scale(1.15); }
}

.heart {
  position: absolute;
  width: 20px;
  height: 20px;
  background: pink;
  transform: rotate(-45deg);
  left: calc(20% * var(--i));
  top: 100%;
  animation: float 10s linear infinite;
  animation-delay: calc(-2s * var(--i));
}

.heart::before,
.heart::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  background: pink;
  border-radius: 50%;
}

.heart::before {
  top: -10px;
  left: 0;
}

.heart::after {
  left: 10px;
  top: 0;
}

@keyframes float {
  0% {
    transform: rotate(-45deg) translateY(0) scale(1);
    opacity: 1;
  }
  100% {
    transform: rotate(-45deg) translateY(-120vh) scale(1.2);
    opacity: 0;
  }
}

/* 点击冒心动画 */
.floating-heart {
  position: absolute;
  pointer-events: none;
  font-size: 20px;
  animation: float-up 2s ease-out;
  color: red;
}
@keyframes float-up {
  0% { transform: translateY(0) scale(1); opacity: 1; }
  100% { transform: translateY(-100px) scale(0); opacity: 0; }
}

/* 爱心雨动画 */
.heart-rain {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  overflow: hidden;
}
.falling-heart {
  position: absolute;
  top: -20px;
  font-size: 20px;
  color: red;
  animation: fall linear infinite;
  transform: scale(2);
}
@keyframes fall {
  0% { transform: translateY(0) translateX(0) scale(2); }
  100% { transform: translateY(100vh) translateX(var(--x-offset)) scale(0.5); }
}

/* 背景圆圈动画 */
.circle {
  position: fixed;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(255,255,255,1), rgba(255,255,255,0.3));
  animation: pulse 6s ease-in-out infinite;
  z-index: 0;
}
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

/* 每个圆圈的位置 */
.circle-left { left: -100px; top: 50%; transform: translateY(-50%); width: 1000px; height: 1000px; }
.circle-left-mirror { right: -100px; top: 50%; transform: translateY(-50%); width: 1000px; height: 1000px; }
.circle-2 { left: 20%; top: 20%; width: 400px; height: 400px; }
.circle-2-mirror { right: 20%; bottom: 20%; width: 400px; height: 400px; }
.circle-3 { right: 10%; top: 70%; width: 600px; height: 600px; }
.circle-3-mirror { left: 10%; bottom: 70%; width: 600px; height: 600px; }
.circle-4 { right: 30%; top: 10%; width: 300px; height: 300px; }
.circle-4-mirror { left: 30%; bottom: 10%; width: 300px; height: 300px; }
.circle-5 { left: 10%; top: 80%; width: 500px; height: 500px; }
.circle-5-mirror { right: 10%; bottom: 80%; width: 500px; height: 500px; }
.circle-6 { right: 20%; top: 40%; width: 700px; height: 700px; background: radial-gradient(circle at center, #ffffff, rgba(240,183,212,0.3)); }
.circle-6-mirror { left: 20%; bottom: 40%; width: 700px; height: 700px; background: radial-gradient(circle at center, #ffffff, rgba(240,183,212,0.3)); }
.circle-7 { left: 30%; top: 60%; width: 440px; height: 440px; background: radial-gradient(circle at center, #ffffff, rgba(228,184,206,0.3)); }
.circle-7-mirror { right: 30%; bottom: 60%; width: 440px; height: 440px; background: radial-gradient(circle at center, #ffffff, rgba(228,184,206,0.3)); }
.circle-8 { right: 5%; top: 25%; width: 360px; height: 360px; }
.circle-8-mirror { left: 5%; bottom: 25%; width: 360px; height: 360px; }
